package ipebg.mzk.facade.entity;

/**
 * 層及資料維護表
 */
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@SuppressWarnings("serial")
@Entity
@Table(name = "TB_COMMON_ORG_LEVEL")
public class OrgLevel implements Serializable{

	@Id
	@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
	@GeneratedValue(generator = "hibernate-uuid")
	@Column(name = "LEVEL_ID")
	private String levelId;
	
	@Column(name = "LEVEL_NAME")
	private String levelName;
	
	@Column(name = "LEVEL_NUMBER")
	private Integer levelNumber;
	
	@Column(name = "CREATE_NAME")
	private String createName;
	
	@Column(name = "CREATE_TIME")
	private Date createTime;

	@Column(name = "ENABLED")
	private String enAbled;
	
	@Column(name = "UPD_USER")
	private String updUser;
	
	@Column(name = "UPD_DT")
	private Date updDt;
	
	public String getLevelId() {
		return levelId;
	}

	public void setLevelId(String levelId) {
		this.levelId = levelId;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levlelName) {
		this.levelName = levlelName;
	}

	public Integer getLevelNumber() {
		return levelNumber;
	}

	public void setLevelNumber(Integer levelNumber) {
		this.levelNumber = levelNumber;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createdTime) {
		this.createTime = createdTime;
	}

	public String getEnAbled() {
		return enAbled;
	}

	public void setEnAbled(String enAbled) {
		this.enAbled = enAbled;
	}

	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

	public Date getUpdDt() {
		return updDt;
	}

	public void setUpdDt(Date updDt) {
		this.updDt = updDt;
	}

}